package com.coolrui.domain.statemachine.enums;

import lombok.Getter;

// 支付方式
@Getter
public enum OrderPayType {
    WX("wx", "微信"),
    ALIPAY("alipay", "支付宝");

    // 使用 final 修饰，确保字段不可变
    private final String code;
    private final String desc;

    OrderPayType(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}